package com.net.tkc.pro.impl;

import com.net.tkc.pro.entity.XiaoClass;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface XiaoClassImpl {
    int addXiaoClass(@Param("XiaoClass") XiaoClass xiaoClass);//添加记录
    List<XiaoClass> getAuthorList(String author);
    List<XiaoClass> getTitleList(String title );
    List<XiaoClass> getClassList();
    int upExamine(int examine,int id);//更新记录
    int upstatus(int status,int id);//更新记录
}
